package driver;

import vo.TeachPlanVO;
import vo.TeacherVO;
import businesslogicservice.ResultMessage;
import businesslogicservice.TeachPlanblservice;

public class TeachPlanBLService_Driver {

	public void drive(TeachPlanblservice teachPlanblservice) {
		ResultMessage resultMessage=teachPlanblservice.uploadPlan(5, new TeacherVO());
		if (resultMessage==ResultMessage.UPLOAD_SUCCESS) {
			System.out.println("Upload teach plan success!");
		}
		
		TeachPlanVO teachPlanVO=teachPlanblservice.getPlan(0001);
		if (teachPlanVO!=null) {
			System.out.println("Get teach plan success!");
		}
	}
}
